"use strict";
const e = require("../../../common/vendor.js"),
  a = {
    __name: "recomment",
    props: {
      newestTravel: Array
    },
    setup(a) {
      const t = e.ref(0);
      return (r, l) => e.e({
        a: a.newestTravel.length > 0
      }, a.newestTravel.length > 0 ? {
        b: a.newestTravel[t.value].imageUrl,
        c: e.t(a.newestTravel[t.value].title),
        d: a.newestTravel[t.value].avatarUrl,
        e: e.t(a.newestTravel[t.value].nickname),
        f: e.t(a.newestTravel[t.value].address),
        g: e.o((r => {
          return l = a.newestTravel[t.value].travel_id, void("image" == a.newestTravel[t.value].fileType ? e.wx$1.navigateTo({
            url: "/pages/details-page/details?_id=" + l
          }) : e.wx$1.navigateTo({
            url: "/pages/details-page/video?_id=" + l
          }));
          var l
        })),
        h: e.f(a.newestTravel, ((a, r, l) => ({
          a: r,
          b: a.imageUrl,
          c: r == t.value ? 1 : "",
          d: e.o((e => function (e) {
            t.value = e
          }(r)), r)
        })))
      } : {})
    }
  },
  t = e._export_sfc(a, [
    ["__scopeId", "data-v-29f116c7"]
  ]);
wx.createComponent(t);